package com.xxx;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@PropertySource("classpath:/dubbo-consumer.properties")
@EnableDubbo
public class WebDemoApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(WebDemoApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}
